const express = require("express");

const Router = express.Router();

const userHanlder = require("../router_handler/user")

const expressJoi = require("@escook/express-joi");
const userSchema = require("../rules/user")


Router.post("/avator", userHanlder.uploadAvatar);
Router.post("/saveSystemConfig", expressJoi(userSchema), userHanlder.saveSystemConfig);




module.exports = Router